package com.baozun.util;

import org.springframework.ui.ModelMap;


public class ModelMapUtil {
    
    private static ModelMap map;
    private static ModelMapUtil modelMapUtil;
    
    private ModelMapUtil(){
        
    }
    public ModelMapUtil(ModelMap model){
        modelMapUtil = new ModelMapUtil();
        map = model;
    }
    public ModelMapUtil put(String key, Object value) {
        map.put(key, value);
        return modelMapUtil;
    }
}
